package com.atiguigu.mybatisplus.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
@TableName("user")
public class User { @TableId(type = IdType.AUTO)
private Long id;
    @TableField
    private String name;
    @TableField
    private Integer age;
    @TableField
    private String email;

//    @TableLogic
//    @TableField(value = "is_deleted")
//    private int isDeleted;



    @TableLogic
    @TableField(value = "is_deleted")
    private int isDeleted;

}
